﻿using System;
using Microsoft.Practices.EnterpriseLibrary.Validation;

namespace Bricks.EnterpriseLibrary.Validation
{

    /// <summary>
    /// 
    /// </summary>
    public class CompositeValidatorFacadeFactory : ValidatorFacadeFactoryBase<ValidatorFactory>
    {

        /// <summary>
        /// 
        /// </summary>
        /// <param name="validatorFactory"></param>
        public CompositeValidatorFacadeFactory(ValidatorFactory validatorFactory) :
            base(() => validatorFactory)
        {
            if (validatorFactory == null)
            {
                throw new ArgumentNullException("validatorFactory");
            }
        }
    }
}
